<div class="center-block w-xl w-auto-xs m-b-lg login_content">
  <h1>海量通DSP服务平台</h1>
  <div class="login-tab">
    <div class="tab-header">
      <p class="active">账户登录</p>
      <p>扫码登录</p>
    </div>
    <div class="tab-main">
      <div class="tab-item">
        <%= form_for(:session, url: login_path ,class: 'ng-pristine ng-invalid ng-invalid-required') do |f| %>
            <%= f.label  '用户名' %>
            <%= f.text_field :username, class: 'form-control ng-pristine ng-invalid ng-invalid-required ng-valid-email'%>

            <%= f.label '密码'%>

            <%= f.password_field :password ,class: 'form-control ng-pristine ng-invalid ng-invalid-required'%>

            <%= f.submit "登 录", class: "btn btn-info p-h-md m-v-lg btn-primary submit" %>
            <p>新用户? <%= link_to "注册", signup_path %></p>
        <% end %>

      </div>
      <div class="tab-item hide" id="login_container">

      </div>
    </div>
  </div>
  <div class="login-bottom-title">
    <strong class="ng-binding">海量通</strong> © 2016-2017
  </div>
</div>